package com.lzh.bean;

import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class Dict {
   int id;
   @NotBlank(message = "编码不允许为空")
   String code;
   @NotBlank(message = "名称不允许为空")
   String name;
   int pid;
   int sorts;
   int isdel;
}
